<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <script src="/js/bootstrap.bundle.min.js"></script>
</head>
<style>
    #form{
        width: 50%;
        margin: 0 auto;
    }
</style>
<body>
<form  id="form" action="/user/login.do" method="post">
    <div class="mb-3 mt-3">
        <label for="nickname" class="form-label">用户名:</label>
        <input type="text" class="form-control" id="nickname" autocomplete="off" placeholder="请输入用户名" name="nickname">
    </div>
    <div class="mb-3">
        <label for="pwd" class="form-label">密码:</label>
        <input type="password" class="form-control" id="pwd" autocomplete="off" placeholder="请输入密码" name="password">
    </div>
    <button type="submit" class="btn btn-primary">登录</button>
    <a href="regist.html" class="btn btn-primary" onclick="doSubmit();" >注册</a>
</form>
</body>
</html>